/**
 * Copyright (C) 2025 ROKAE (Beijing) Technology Co., LTD.
 * All Rights Reserved.
 *
 * Information in this file is the intellectual property of Rokae Technology Co., Ltd,
 * And may contains trade secrets that must be stored and viewed confidentially.
 *
 * @file RLStartWidget.h
 * @brief RL Start 指令
 */
#ifndef RLSTARTWIDGET_H
#define RLSTARTWIDGET_H

#include <QWidget>
#include <QDebug>
#include "rl/rlcontentbase.h"

namespace Ui {
class RLStartWidget;
}

namespace xplugin {
// RL 指令界面类
class RLStartWidget : public RLContentBase
{
    Q_OBJECT

public:
    explicit RLStartWidget(const QString &type = "", QWidget *parent = nullptr);
    ~RLStartWidget();

    /**
     * @brief 填充当前窗口的字符串
     * @param str 填充字符串
     */
    void FillWith(const QString &str) override;

    /**
     * @brief 当前窗口对外输出的字符串
     * @return QString 输出字符串
     */
    QString ToString() override;

    /**
     * @brief 判断是否作为对外输出窗口的插入值
     * @return bool 判断结果
     */
    bool CheckInsert() override;

private:
    Ui::RLStartWidget *ui;
};

}

#endif // RLSTARTWIDGET_H
